#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

class Person
{
public:
	Person(string name = " ", int age = 0) :
		_name(name),
		_age(age)
	{
		// ...
	}
	void Print()
	{
		cout << "Person" << "\n" << _name << ":" << _age << endl;
	}
protected:
	string _name;
	int _age;
private:
	int _num;
};

class Child :public Person
{
public:
	Child(string name, int age) : 
		Person(name, age) 
	{
		// ...
	}
};

int main()
{
	Person p("Kana", 17);
	p.Print();

	Child c("A", 1);
	c.Print();
	return 0;
}